package com.cnfangmao.masterdata.dao;

import java.util.List;

import com.cnfangmao.masterdata.model.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author chenxd
 * @since 2020-04-17
 */
public interface PermissionDao extends BaseMapper<Permission> {

	List<Permission> listPermissionByUserId(String userId);
	
	List<Permission> findAllPermission();
}
